<?php
/**
 * Created by PhpStorm.
 * UsersF: Mloong
 * Date: 2018/11/30
 * Time: 11:53
 */

namespace app\admin\model;


class Record extends BaseModel
{
    # 获取所有推广记录
    public static function getAllRecord()
    {
        $data =  self::all();
        $count = self::count();
        return array('data' => $data,'count'=>$count);
    }
}